package org.practice.model;

public class Product implements java.io.Serializable{
	private static final long seriaVersionUID=123456789L;
	private Integer id;

	private Integer categoryId;

	private String name;

	private String description;

	private Long addTime;

	private double fixedPrice;

	private double dangPrice;

	private String keywords;

	private Integer hasDeleted;

	private String pic;
	
	public Product(){
		super();
	}
	
	//�ù����Ӹ�hibernate�ã���Ϊ���ﳵ����Ϣ
	public Product(Integer id, String name, double fixedPrice,double dangPrice) {
		this.id = id;
		this.name = name;
		this.fixedPrice = fixedPrice;
		this.dangPrice = dangPrice;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Long getAddTime() {
		return addTime;
	}
	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}
	public double getFixedPrice() {
		return fixedPrice;
	}
	public void setFixedPrice(double fixedPrice) {
		this.fixedPrice = fixedPrice;
	}
	public double getDangPrice() {
		return dangPrice;
	}
	public void setDangPrice(double dangPrice) {
		this.dangPrice = dangPrice;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public Integer getHasDeleted() {
		return hasDeleted;
	}
	public void setHasDeleted(Integer hasDeleted) {
		this.hasDeleted = hasDeleted;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	
}
